﻿

<div class="mt-4" id="@Title">
	<h4>@Title</h4>
	@if (Description is not null)
	{
		<p class="text-muted">
			@Description
		</p>
	}
</div>
<div class="border mt-4">
	@if (Run is not null)
	{
		<div class="p-4">
			@Run
		</div>
		<hr />
	}
	<div class="p-4">
		@Code
	</div>
</div>

@code {
	[Parameter] public string Title { get; set; }
	[Parameter] public RenderFragment Description { get; set; }
	[Parameter] public RenderFragment Run { get; set; }
	[Parameter] public RenderFragment Code { get; set; }
}